package cn.pomelo.activity.service.impl;

import cn.pomelo.activity.mapper.ItemMapper;
import cn.pomelo.activity.model.Item;
import cn.pomelo.activity.service.IItemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ItemServiceImpl implements IItemService {
    @Resource
    ItemMapper itemMapper;

    @Override
    public List<Item> findAll() {
        return itemMapper.selectAll();
    }
}
